<template name="tp1">
    <view class="card1-head-box">
        <view class="card1-head">
            <image class="card1-head-img skeletons-rect" :src="userInfo.person_avatar||'/images/icon/default.svg'"></image>
            <view class="flex-center pd-lg">
                <view class="skeletons-rect">
                    <image class="avatar" :src="userInfo.company_logo_thumb||'/images/icon/default.svg'"></image>
                </view>
                <view class="ml-lg  flex-1 ellipsis">
                    <view class="flex-y-baseline ">
                        <view class="flex-y-center">
                            <view class="f-title-lg c-title skeletons-rect">{{userInfo.name}}</view>
                        </view>
                        <view @tap="myself&&!userInfo.position?'goUrl':''" class="skeletons-rect c-caption f-caption ml-md ellipsis" data-url="/pages/card/add/add?active=0">{{userInfo.position?userInfo.position:myself?'点击填写职位':'未填写职位'}}</view>
                    </view>
                    <view @tap="myself&&!userInfo.company_name?'goUrl':''" class="skeletons-rect c-caption f-paragraph flex-1 ellipsis" data-url="/pages/card/add/add?active=0">{{userInfo.company_name?userInfo.company_name:myself?'点击填写公司':'未填写公司'}}</view>
                </view>
            </view>
        </view>
    </view>
</template>